home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / cval100 / readme.txt < prev    next >
Text File  |  1998-02-22  |  3KB  |  91 lines

  1. CURRVAL.OCX DOCUMENTATION
  2.  
  3. WHAT IS CURRVAL.OCX?
  4. =================================
  5.  
  6. Currval.ocx is a pretty simple active-x control for VB. Basically it
  7. is a specialized text box used for numeric or currency validation.
  8. It allows you to set properties to do the following things 
  9. that you can't in a regular text box:
  10.  
  11. 1. Set the Minimum Value Allowed
  12. 2. Set theMaximum Value Allowed
  13. 3. Automatically format text as currency ($999,99.99)
  14. 4. Control whether or not the field can be left blank at run time.
  15. 5. Show message boxes when field validation fails.
  16.  
  17. OVERVIEW
  18. =================================
  19.  
  20. Here's an overview of the validation process.
  21.  
  22. Based on properties you set in design time you can control the five
  23. properties listed above plus many others. When you are ready to 
  24. validate the field(s) you simply call the bValidateCurrency method.
  25.  
  26. bValidateCurrency can behave in two ways 1: If you specified in the 
  27. property page that you wanted to show message boxes on validation
  28. failure message boxes will be presented to the user telling them
  29. why the text they typed was not valid (these messages are also
  30. programmer defineable properties). 2: If you have the "showmsgbox"
  31. property set to false then bValidateCurrency will return false and
  32. you can handle it any way you want programatically.
  33.  
  34. USING
  35. ==================================
  36.  
  37. It just takes a second to learn how to use currval.ocx.
  38.  
  39. 1. add it to your project
  40. 2. drop it on a form and click "custom" in the property page
  41.    to bring up the custom property page.
  42. 3. the properties are pretty much self-explanatory so play with them
  43. 4. drop a command button on your form and place a call to 
  44.    "currency1.bValidateCurrency" in the click event. 
  45. 5. Have fun.
  46.  
  47. SUPPORT
  48. ===================================
  49.  
  50. Technical Support for this or any other BoBoSoFt is available
  51. by sending email to pcguru@cwia.com. OR visit our web site at
  52. http://www.cwia.com/pcguru/bobosoft/index.htm
  53.  
  54.  
  55. LICENSE
  56. ===================================
  57.  
  58. CURRVAL.OCX is copyright 1998 by BoboSoft. It may be 
  59. freely distributed in its original form.
  60.  
  61. Any modification, reverse engineering,
  62. or distribution other than in the original form
  63. is restricted by the author.
  64.  
  65. CURRVAL.OCX cannot be sold. The author does give
  66. permission for CURRVAL.OCX to be distributed for a fee
  67. but the fee must not exceed a reasonable amount to
  68. cover the cost of the media on which it is being
  69. distributed.
  70.  
  71. The author grants no license to use CURRVAL.OCX without
  72. registering the product. Registration is free and simple.
  73. There is a 10 day grace period . TO REGISTER CURRVAL.OCX
  74. SEND EMAIL TO pcguru@cwia.com WITH YOUR NAME AND ANY COMMENTS.
  75.  
  76. Using this product without registering is just plain silly
  77. since registration is free.
  78.  
  79. The author accepts no responsibility for any damage or
  80. data loss caused by this installation. It is the author's 
  81. intention to provide free and safe software.
  82.  
  83. If you do not agree to these terms please uninstall  this
  84. product.
  85.  
  86. For support, upgrades or to request an enhancement
  87. send your request to pcguru@cwia.com.
  88.  
  89.  
  90.  
  91.